package com.mxsat.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mxsat.common.service.Service;
import com.mxsat.system.entity.SysDict;
import com.mxsat.system.entity.SysDictItem;

public interface SysDictionaryService extends Service{
	
	IPage<SysDict> findSysDictByPage(IPage<SysDict> page)throws Exception;
	
	IPage<SysDictItem> findSysDictItemByPage(IPage<SysDictItem> page,String code)throws Exception;
	
	boolean addSysDict(SysDict dict)throws Exception;
	
	boolean modfiySysDict(SysDict dict)throws Exception;
	
	Boolean removeSysDict(String code)throws Exception;
	
	boolean addSysDictItem(SysDictItem item)throws Exception;
	
	boolean modifySysDictItem(SysDictItem item)throws Exception;
	
	boolean removeSysDictItem(Long id)throws Exception;
	boolean removeSysDictItems(String code)throws Exception;
}
 